/**
 * 
 */
package com.cchr.acms.service;

import java.util.List;

import com.cchr.acms.model.CaseInfo;
import com.cchr.acms.model.CaseInfoQueryEntity;

/**
 * @author Zeng
 *
 */
public interface CaseInfoService {
	
	public int insertCaseInfo(CaseInfo caseInfo);
	
	public int updateCaseInfo(CaseInfo caseInfo);
	
	public CaseInfo getCaseInfoById(int id);

	public List<CaseInfo> getAllCaseInfo();
	
	/**
     * 
     * @param entity 鏌ヨ�?�炰�?
     * @param index  褰撳墠椤电涓�鏉ndex
     * @param pageNum 姣忛〉鏄剧ずn鏉�
     * @return
     */
	public List<CaseInfo> queryAbuseInfo(CaseInfoQueryEntity entity,int recordIndex,int pageNum);
	
	public int queryTotal(CaseInfoQueryEntity entity);
	/**
	 * 根据id更新case状态
	 * @param id
	 * @return
	 */
	public int updateCaseStatus(int id,String status, String lastUpdatedBy);
}
